package com.xlh.virtualization.dao.ext;

import com.xlh.virtualization.domain.ContainerAttr;
import com.xlh.virtualization.domain.ContainerCourseAttr;
import com.xlh.virtualization.domain.ContainerTrainingAttr;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cheer
 */
@Repository
public interface ContainerMapperExt {

    List<ContainerAttr> listContainers(@Param("userInfo") String userInfo,
                                       @Param("statusList") List<Integer> statusList);

    List<ContainerCourseAttr> listCourseContainers(@Param("userInfo") String userInfo,
                                                   @Param("statusList") List<Integer> statusList,
                                                   @Param("courseId") Long courseId);

    List<ContainerTrainingAttr> listTrainingContainers(@Param("userInfo") String userInfo,
                                                       @Param("statusList") List<Integer> statusList);
}
